<?=$this->form ( $this->element->getName (), $this->element->getAttribs (), false );?>
<?php
   echo $this->renderElement ( $this->element->codsintesis );
    echo $this->renderElement ( $this->element->codtab );
    echo $this->renderElement ( $this->element->codboton );
    echo $this->renderElement ( $this->element->codboton2 );
    $sesionTabBoton = new Zend_Session_Namespace("TABBOTON");
?>
<table width="100%" align="center" class="iceDatTbl zebra">
    <?php if(!empty($sesionTabBoton->label)):?>
	<thead>
		<tr>
			<th colspan="2"><?php echo $sesionTabBoton->label;?></th>
		</tr>
	</thead>
    <?php endif;?>
    <?php if(!$this->element->isStatic()): ?>
	<tr>
		<td colspan="2" class="iceDatTblRow2" style="text-align:center;">Tamaño máximo <strong>10 Mb. </strong> Extensiones admitidas (.doc, .docx, .ppt, .pptx,
		 .pdf, .gif, .jpg, .jpeg, .bmp, .png, .zip, .rar)</td>
	</tr>
	<tr>
		<th><?php echo $this->element->archivo->renderLabel (); ?></th>
		<td><?php
		    echo $this->renderElement ( $this->element->archivo );
		    echo $this->element->archivo->renderErrors ();
		?></td>
	</tr>
	<?php endif;?>
    <?php if(!$this->element->isStatic()): ?>
    <tr>
		<td colspan="2" class="iceDatTblRow2" style="text-align:center;">
        <?php
		echo $this->renderElement ( $this->element->btnSubmit );
		?>
        </td>
	</tr>
	<?php endif; ?>
</table>
</form>